﻿/*
=============================================================================
Author:魏宝辉通过CodeSmithe生成
CreatedTime:2012-12-12
Description:Agency_List三层结构模型层
=============================================================================	
*/
using System;
using System.Collections.Generic;
using System.Text;
 
using PWMIS.Common;
using PWMIS.DataMap.Entity;
namespace FTchina.Models
{
	/// <summary>
	/// 
	/// </summary>
	[Serializable()]
	public class Agency_List: EntityBase
	{
		
		//不带数的构造方法
		public Agency_List()
		{
            TableName = "Agency_List";
            EntityMap = EntityMapType.Table;

            //IdentityName = "标识字段名";
            IdentityName = "Id";

            //PrimaryKeys.Add("主键字段名");
            PrimaryKeys.Add("Id");
			
		}
        
        protected override void SetFieldNames()
        {           
            PropertyNames = new string[] { "Id" ,"AgencyID" ,"AgencyName" ,"BSSCode" ,"AgencyAddress" ,"Longitude" ,"Latitude" ,"AgencyManager" ,"ContactMan" ,"ContactTel1" ,"ContactTel2" ,"AgencyUnit" ,"UName" ,"LastUpdate" };
        }  
        
		#region Agency_List Filed
 		public  System.Int64 Id
		{
			 get{return getProperty< System.Int64>("Id");}
             set{setProperty("Id",value );}
		}		 
 		public System.String AgencyID
		{
			 get{return getProperty<System.String>("AgencyID");}
             set{setProperty("AgencyID",value );}
		}		 
 		public System.String AgencyName
		{
			 get{return getProperty<System.String>("AgencyName");}
             set{setProperty("AgencyName",value );}
		}		 
 		public System.String BSSCode
		{
			 get{return getProperty<System.String>("BSSCode");}
             set{setProperty("BSSCode",value );}
		}		 
 		public System.String AgencyAddress
		{
			 get{return getProperty<System.String>("AgencyAddress");}
             set{setProperty("AgencyAddress",value );}
		}		 
 		public System.String Longitude
		{
			 get{return getProperty<System.String>("Longitude");}
             set{setProperty("Longitude",value );}
		}		 
 		public System.String Latitude
		{
			 get{return getProperty<System.String>("Latitude");}
             set{setProperty("Latitude",value );}
		}		 
 		public System.String AgencyManager
		{
			 get{return getProperty<System.String>("AgencyManager");}
             set{setProperty("AgencyManager",value );}
		}		 
 		public System.String ContactMan
		{
			 get{return getProperty<System.String>("ContactMan");}
             set{setProperty("ContactMan",value );}
		}		 
 		public System.String ContactTel1
		{
			 get{return getProperty<System.String>("ContactTel1");}
             set{setProperty("ContactTel1",value );}
		}		 
 		public System.String ContactTel2
		{
			 get{return getProperty<System.String>("ContactTel2");}
             set{setProperty("ContactTel2",value );}
		}		 
 		public System.String AgencyUnit
		{
			 get{return getProperty<System.String>("AgencyUnit");}
             set{setProperty("AgencyUnit",value );}
		}		 
 		public System.String UName
		{
			 get{return getProperty<System.String>("UName");}
             set{setProperty("UName",value );}
		}		 
 		public System.DateTime LastUpdate
		{
			 get{return getProperty<System.DateTime>("LastUpdate");}
             set{setProperty("LastUpdate",value );}
		}		 
		#endregion
	}
}

